package com.xpsoft.oa.model.admin;


import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.project.Project;
import com.xpsoft.oa.model.system.AppUser;
import com.xpsoft.oa.model.system.Department;

/**
 * LicenseBorrow Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class LicenseBorrow extends com.xpsoft.core.model.BaseModel {
	@Expose
    protected Long id;  
	@Expose
	protected AppUser applyUser;
	@Expose
	protected Department dept;
	@Expose
	protected String proNeed;
	@Expose
	protected Project project;
	@Expose
	protected String borrowLimit;
	@Expose
	protected java.util.Date preReturnDate;
	@Expose
	protected License license;
	@Expose
	protected String borrowReason;
	@Expose
	protected String remark;
	@Expose
	protected Long processRunId;

	/**
	 * Default Empty Constructor for class LicenseBorrow
	 */
	public LicenseBorrow () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class LicenseBorrow
	 */
	public LicenseBorrow (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	


	public Long getProcessRunId() {
		return processRunId;
	}

	public void setProcessRunId(Long processRunId) {
		this.processRunId = processRunId;
	}

	/**
	 * 项目需求	 * @return String
	 * @hibernate.property column="proNeed" type="java.lang.String" length="10" not-null="false" unique="false"
	 */
	public String getProNeed() {
		return this.proNeed;
	}
	
	/**
	 * Set the proNeed
	 */	
	public void setProNeed(String aValue) {
		this.proNeed = aValue;
	}	

	/**
	 * 借用期限	 * @return String
	 * @hibernate.property column="borrowLimit" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getBorrowLimit() {
		return this.borrowLimit;
	}
	
	/**
	 * Set the borrowLimit
	 */	
	public void setBorrowLimit(String aValue) {
		this.borrowLimit = aValue;
	}	

	/**
	 * 拟归还日期	 * @return java.util.Date
	 * @hibernate.property column="preReturnDate" type="java.util.Date" length="19" not-null="false" unique="false"
	 */
	public java.util.Date getPreReturnDate() {
		return this.preReturnDate;
	}
	
	/**
	 * Set the preReturnDate
	 */	
	public void setPreReturnDate(java.util.Date aValue) {
		this.preReturnDate = aValue;
	}	

	/**

	/**
	 * 申请借用原因	 * @return String
	 * @hibernate.property column="borrowReason" type="java.lang.String" length="65535" not-null="false" unique="false"
	 */
	public String getBorrowReason() {
		return this.borrowReason;
	}
	
	public AppUser getApplyUser() {
		return applyUser;
	}

	public void setApplyUser(AppUser applyUser) {
		this.applyUser = applyUser;
	}

	public Department getDept() {
		return dept;
	}

	public void setDept(Department dept) {
		this.dept = dept;
	}

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

	public License getLicense() {
		return license;
	}

	public void setLicense(License license) {
		this.license = license;
	}

	/**
	 * Set the borrowReason
	 */	
	public void setBorrowReason(String aValue) {
		this.borrowReason = aValue;
	}	

	/**
	 * 备注	 * @return String
	 * @hibernate.property column="remark" type="java.lang.String" length="65535" not-null="false" unique="false"
	 */
	public String getRemark() {
		return this.remark;
	}
	
	/**
	 * Set the remark
	 */	
	public void setRemark(String aValue) {
		this.remark = aValue;
	}	

}
